﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GHRMS.MODEL
{
    [Serializable]
    public class TreeViewInfo
    {
        private string id;
        private string parent_id;
        private string name;
        private string descr;
        private int children_count;
        private int check;
        private string image_url;
        private string category;

        public TreeViewInfo()
        {

        }

        public TreeViewInfo(string id, string parent_id, string name, string descr, int children_count, int check, string image_url, string category)
        {
            this.id = id;
            this.parent_id = parent_id;
            this.name = name;
            this.descr = descr;
            this.children_count = children_count;
            this.check = check;
            this.image_url = image_url;
            this.category = category;
        }

        public string Id
        {
            set { id = value; }
            get { return id; }
        }

        public string Parent_id
        {
            set { parent_id = value; }
            get { return parent_id; }
        }

        public string Name
        {
            set { name = value; }
            get { return name; }
        }

        public string Descr
        {
            set { descr = value; }
            get { return descr; }
        }

        public int Children_count
        {
            set { children_count = value; }
            get { return children_count; }
        }

        public int Check
        {
            set { check = value; }
            get { return check; }
        }

        public string Image_url
        {
            set { image_url = value; }
            get { return image_url; }
        }

        public string Category
        {
            set { category = value; }
            get { return category; }
        } 
    }
}
